<?php
class defineVideo extends Video{
    
        }
class VideoTest{

    public function __toString(){
        $_testVideoTest= new defineVideo(13042014, "samuel", "http://www.monsite.com/trailer.avi") ;
        if($_testVideoTest -> getPublicationDate()==13042014 && $_testVideoTest -> getAuthor()=="samuel" && $_testVideoTest ->getURL()=="http://www.monsite.com/trailer.avi" ){
            ecrire_log("Test de Video Test  ... réusi \n", "Test");
            return "Test de Video Test  ... réusi \n";
            }else{
                ecrire_log("Test de Video Test  ... échouer \n", "Test");
                return "Test de Video Test  ... échouer \n";
            }
    }
}
?>